package com.murray.assignment.pojo;

/**
 * @author Murray
 * @Date 2021/8/13
 * @Time 7:51
 * @Description
 */
public class Address {
    /**
     * 地址id
     */
    private Integer addressId;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 国家
     */
    private String country;
    /**
     * 省
     */
    private String province;
    /**
     * 市
     */
    private String city;
    /**
     * 区
     */
    private String town;
    /**
     * 具体地址
     */
    private String address;
    private String zip;
    /**
     * 座机
     */
    private String tel;
    /**
     * 移动电话
     */
    private String mobile;
    /**
     * 收件人
     */
    private String consignee;

    @Override
    public String toString() {
        return "Address{" +
                "addressId=" + addressId +
                ", userId=" + userId +
                ", country='" + country + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", town='" + town + '\'' +
                ", address='" + address + '\'' +
                ", zip='" + zip + '\'' +
                ", tel='" + tel + '\'' +
                ", mobile='" + mobile + '\'' +
                ", consignee='" + consignee + '\'' +
                ", isDefault=" + isDefault +
                '}';
    }

    public Integer getAddressId() {
        return addressId;
    }

    public void setAddressId(Integer addressId) {
        this.addressId = addressId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getTown() {
        return town;
    }

    public void setTown(String town) {
        this.town = town;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getZip() {
        return zip;
    }

    public void setZip(String zip) {
        this.zip = zip;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getConsignee() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }

    public Integer getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }

    public Address() {
    }

    public Address(Integer addressId, Integer userId, String country, String province, String city, String town, String address, String zip, String tel, String mobile, String consignee, Integer isDefault) {
        this.addressId = addressId;
        this.userId = userId;
        this.country = country;
        this.province = province;
        this.city = city;
        this.town = town;
        this.address = address;
        this.zip = zip;
        this.tel = tel;
        this.mobile = mobile;
        this.consignee = consignee;
        this.isDefault = isDefault;
    }

    private Integer isDefault;
}
